package config

import "time"

const (
	//监听端口
	ListenAddr = "0.0.0.0:8888"

	//数据库配置
	DbType = "mysql"
	DbUser = "root"
	DbPwd  = "123456"
	DbHost = "127.0.0.1"
	DbPort = 3306
	DbName = "test_db"
	//连接池的配置
	MaxIdleConns = 10               //最大空闲连接
	MaxOpenConns = 100              //最大连接数
	MaxLifeTime  = 30 * time.Second //最大生存时间
)
